<?php

namespace IDock\Insurance\ACIC\Request\NonCar;

use Exception;
use IDock\Insurance\ACIC\ACICEnums;
use IDock\Insurance\ACIC\Request\AllACICRequest;
use IDock\Insurance\ACIC\Response\UploadFileResponse;
use IDock\Printer\NonCar\NonCarSubCoveragePrinter;
use IDock\Visitor\NonCar\NonCarInquiryVisitor;
use IDock\Visitor\NonCar\NonCarProductVisitor;
use IDock\Visitor\Premium\PremiumInquiryVisitor;
use IDock\Visitor\Premium\PremiumRelationVisitor;

class NonCarInquiryInfoRequest extends AllACICRequest
{
    protected $code = 'Q005';

    protected $response = UploadFileResponse::class;

    protected $urlTip = '投保单查询';

    private $appNo;

    public $noCarApi = true;

    /**
     * @return array
     * @throws Exception
     */
    public function generate(): array
    {

        $data = [
            'AppNo' => $this->appNo
        ];

        return $data;
    }

    public function setAppNo($appNo)
    {
        $this->appNo = $appNo;
    }

}
